package com.ruoyi.lm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员套餐包对象 lm_levelpackage
 * 
 * @author ruoyi
 * @date 2020-09-02
 */
public class LmLevelpackage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String packageName;

    /** 套餐次数 */
    @Excel(name = "套餐次数")
    private Integer packageTimes;

    /** 套餐价格 */
    @Excel(name = "套餐价格")
    private float packagePrice;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPackageName(String packageName) 
    {
        this.packageName = packageName;
    }

    public String getPackageName() 
    {
        return packageName;
    }
    public void setPackageTimes(Integer packageTimes) 
    {
        this.packageTimes = packageTimes;
    }

    public Integer getPackageTimes() 
    {
        return packageTimes;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("packageName", getPackageName())
            .append("packageTimes", getPackageTimes())
            .append("packagePrice", getPackagePrice())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }


    public float getPackagePrice() {
        return packagePrice;
    }

    public void setPackagePrice(float packagePrice) {
        this.packagePrice = packagePrice;
    }
}
